package com.yc.system.mapper;


import com.yc.system.domain.Teacher;
import com.yc.system.dto.StudentDto;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

@Mapper
public interface TeacherMapper {

    /**
     * 查询全部教师信息
     * @return
     */
    List<Teacher> selectAll();

    /**
     * 查询老师id及姓名
     *
     * @return
     */
    List<Map<String, String>> selectAllTeacherName();

    /**
     * 根据教师姓名查询教师id
     */
    String selectTeacherIdByName(String teaName);


}
